1 /*
2 * File: Altitude_Mode.h
3 *
4 * Code generated for Simulink model 'Altitude_Mode'.
5 *
6 * Model version : 1.100
7 * Simulink Coder version : 8.5 (R2013b) 08-Aug-2013
8 * C/C++ source code generated on : Mon Feb 03 08:13:10 2014
9 *
10 * Target selection: ert.tlc
11 * Embedded hardware selection: 32-bit Embedded Processor
12 * Code generation objectives: Unspecified
13 * Validation result: Not run
14 */
15
16 #ifndef RTW_HEADER_Altitude_Mode_h_
17 #define RTW_HEADER_Altitude_Mode_h_
18 #ifndef Altitude_Mode_COMMON_INCLUDES_
19 # define Altitude_Mode_COMMON_INCLUDES_
20 #include <string.h>
21 #include "rtwtypes.h"
22 #include "model_reference_types.h"
23 #include "rtw_shared_utils.h"
24 #endif /* Altitude_Mode_COMMON_INCLUDES_ */
25
26 #include "Altitude_Mode_types.h"
27
28 /* Block signals for model 'Altitude_Mode' */
29 typedef struct {
30 real_T altError; /* '<Root>/Sum' (Output 1) */
31 real_T Probe[2]; /* '<S4>/Probe' (Output 1) */
32 } rtB_Altitude_Mode;
33
34 /* Block states (auto storage) for model 'Altitude_Mode' */
35 typedef struct {
36 real_T DelayInput2_DSTATE; /* '<S4>/Delay Input2' (DWork 1) */
37 real_T X_DSTATE; /* '<S5>/X' (DWork 1) */
38 } rtDW_Altitude_Mode;
39
40 /* Invariant block signals for model 'Altitude_Mode' */
41 typedef struct {
42 const real_T Product; /* '<S5>/Product' (Output 1) */
43 } rtC_Altitude_Mode;
44
45 typedef struct {
46 rtB_Altitude_Mode rtb;
47 rtDW_Altitude_Mode rtdw;
48 } rtMdlrefDWork_Altitude_Mode;
49
50 /* Model reference registration function */
51 extern void Altitude_Mode_initialize(rtB_Altitude_Mode *localB,
52 rtDW_Altitude_Mode *localDW);
53 extern void Altitude_Mode_Start(rtB_Altitude_Mode *localB);
54 extern void Altitude_Mode(const real_T *rtu_AltRef, const real_T *rtu_Alt, const
55 real_T *rtu_AltRate, const real_T *rtu_TAS, const real_T *rtu_Theta, const
56 boolean_T *rtu_ALTMode, real_T *rty_ThetaCmd, rtB_Altitude_Mode *localB,
57 rtDW_Altitude_Mode *localDW);
58
59 /*-
60 * The generated code includes comments that allow you to trace directly
61 * back to the appropriate location in the model. The basic format
62 * is <system>/block_name, where system is the system number (uniquely
63 * assigned by Simulink) and block_name is the name of the block.
64 *
65 * Use the MATLAB hilite_system command to trace the generated code back
66 * to the model. For example,
67 *
68 * hilite_system('<S3>') - opens system 3
69 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
70 *
71 * Here is the system hierarchy for this model
72 *
73 * '<Root>' : 'Altitude_Mode'
74 * '<S1>' : 'Altitude_Mode/Angle Conversion'
75 * '<S2>' : 'Altitude_Mode/Angle Conversion1'
76 * '<S3>' : 'Altitude_Mode/Model Info'
77 * '<S4>' : 'Altitude_Mode/Rate Limiter'
78 * '<S5>' : 'Altitude_Mode/ResetIntegratorExternal'
79 * '<S6>' : 'Altitude_Mode/Rate Limiter/Saturation Dynamic'
80 */
81
82 /*-
83 * Requirements for '<Root>': Altitude_Mode
84 */
85 #endif /* RTW_HEADER_Altitude_Mode_h_ */
86
87 /*
88 * File trailer for generated code.
89 *
90 * [EOF]
91 */
92
|